
import urllib.request
import urllib.parse
data={}
data['first']="true"
data["p"]="1"
data["kd"]="python"

formdata = urllib.parse.urlencode(data).encode('utf-8')

headers = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36"}
request=urllib.request.Request("https://www.lagou.com/jobs/positionAjax.json",data=formdata,headers=headers)
print(urllib.request.urlopen(request).read().decode("utf8"))